import time
from time import sleep

from base.base import Base



class page_select_account(Base):
    # 查询账户信息
    def account_no_select(self,account_no):
        self.switch_node("account_no_page")
        self.logger.info('点击账户管理')
        self.click("account_manage")  # 使用YAML中定义的键名
        self.logger.info('点击账户信息')
        self.click("account_info_btn")
        self.logger.info('输入账户信息')
        self.send_keys("account_no_send",account_no)
        self.logger.info('点击查询')
        self.click("account_search_btn")
        self.logger.info('查询成功')




